<include file="public@header" />
</head>
<body>
	<div class="wrap js-check-wrap">
		<ul class="nav nav-tabs">
			<li class="active"><a href="{:url('organization_user/index',array('organization_id'=>input('organization_id')))}">成员列表</a></li>
			<li><a href="{:url('organization_user/add',array('organization_id'=>input('organization_id')))}">新增成员</a></li>
		</ul>
		<br>
		<table class="table table-hover table-bordered">
			<thead>
				<tr>
					<th width="50">ID</th>
					<th>成员</th>
					<th>身份</th>
					<th>单位</th>
					<th width="200">{:lang('ACTIONS')}</th>
				</tr>
			</thead>
			<tbody>
				<foreach name="list" item="vo">
				<tr>
					<td>{$vo.id}</td>
					<td>{$vo.user.user_nickname}</td>
					<td>{$vo.role.title}</td>
					<td></td>
					<td>
						<a class="btn btn-xs btn-danger js-ajax-delete" href='{:url("organization_user/delete",array("id"=>$vo["id"]))}'>{:lang('DELETE')}</a>
					</td>
				</tr>
				</foreach>
			</tbody>
		</table>
		<div class="pagination">{$page}</div>
	</div>
	<script src="__STATIC__/js/admin.js"></script>
</body>
</html>